﻿using System;

using System.Collections.Generic;
using System.Text;

namespace Silvermoon.Controls
{
    /// <summary>
    /// Offers information for TreeViewItem events.
    /// </summary>
    public class TreeViewItemEventArgs:EventArgs
    {
        /// <summary>
        /// Gets the parent item.
        /// </summary>
        public ItemBase ParentItem { get; internal set; }

        /// <summary>
        /// Gets or sets the current item.
        /// </summary>
        public ItemBase Item { get; set; }

        /// <summary>
        /// Gets the index of the item to obtain.
        /// </summary>
        public int Index { get; internal set; }
    }
}
